%%This file allows the user to pause Matlab script and do some stuff
Str = 'PauseButton_loop'; eval(strcat(Str,' = load(''',Str,'.txt'');'))
if PauseButton_loop == 1
    keyboard
%     PauseButton = 0;
%     Str = 'PauseButton'; eval(sprintf('FID = fopen(''%s.txt'',''w''); fprintf(FID,''%%i\\n'',%s); fclose(FID);',Str,Str));
end